<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			div{
				width:500px;
				height:500px;
				background: blue;
				background: url(1.jpg) no-repeat 0 0;
				background-size: 400px 100%;
				background-position: -500px 0px;
				animation: 2s run;
			}
			@keyframes run{
				100%{
					background-position: 0px 0px;
				}
			}
		</style>
	</head>
	<body>
		<div></div>
	</body>
</html>
